import React from 'react'
import PropTypes from 'prop-types'
import IMAGE_DEV from 'image/page/dev.png'
import styles from './Developing.styl'

const None = props => (
    <div className={styles.developing} style={{ height: props.height }}>
        <img src={IMAGE_DEV} alt="developing..." />
        <div>{props.children || '全力开发中，敬请期待'}</div>
    </div>
)

None.defaultProps = {
    height: '80vh',
}

None.propTypes = {
    height: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
}

export default None
